package com.bjsxt.feign;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.codehaus.jackson.annotate.JsonProperty;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class JwtToken {
    /**
     * access_token
     */
    @JsonProperty("access_token")
    private String access_token;

    /**
     * token类型
     */
    @JsonProperty("token_type")
    private String token_type;

    /**
     * refresh_token
     */
    @JsonProperty("refresh_token")
    private String refresh_token;

    /**
     * 过期时间
     */
    @JsonProperty("expires_in")
    private Long expires_in;


    /**
     * token的范围
     */
    private String scope;

    /**
     * 颁发的凭证
     */
    private String jti;

}
